package com.ksd.web.controller.m3beans;

import com.ksd.common.config.PlayControlConfig;
import lombok.Data;

@Data
public class StopChannelScanRequest {
    private String method;
    private int type;
    private String user;
    private String token;
    private Object parameters;

    public static StopChannelScanRequest stopChannelScanRequest(String method) {
        StopChannelScanRequest startChannelScanRequest = new StopChannelScanRequest();
//        savePrfDataRequest.setToken("weiyun");
//        savePrfDataRequest.setUser("weiyun");
        startChannelScanRequest.setToken(PlayControlConfig.getToken());
        startChannelScanRequest.setUser(PlayControlConfig.getUser());
        startChannelScanRequest.setType(1);
        startChannelScanRequest.setMethod(method);

        return startChannelScanRequest;
    }
}
